home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 176-200 / disk_177 / jask / test_jask < prev   
Text File  |  1992-05-06  |  1KB  |  36 lines

  1. ; Copyright 1988 by I2(EYE) Systems.        TEST_JASK - Version 1.0
  2. ;
  3. failat 6
  4. ; these parameters say:
  5. ; -r = the requester text is YA MOMMA is ?
  6. ; -p = the positive gadget says FAT
  7. ; -n = the negative gadget says UGLY
  8. ; -d = the default is positive and draw a fancy border around the pos gad
  9. ; -t = parameter not specified so never timeout
  10. jask "-rYA MOMMA is ?" -pFAT -nUGLY -dp
  11. if warn
  12. echo "POS Gadget pressed"
  13. else
  14. echo "NEG Gadget pressed"
  15. endif
  16. ; these parameters say:
  17. ; -r =  the requester text is YA MOMMA is ?
  18. ; -p = the positive gadget says FAT
  19. ; -n = the negative gadget says UGLY
  20. ; -d = the default is negative and draw a fancy border around the neg gad
  21. ; -t = timeout after 5 seconds and take the default answer
  22. ; -q = bring up the requester quick, don't scroll it up
  23. jask "-rYA MOMMA is ?" -pFAT -nUGLY -dn -t5 -q
  24. if warn
  25. echo "POS Gadget pressed"
  26. else
  27. echo "NEG Gadget pressed"
  28. endif
  29. ; Only the required parameter is specified here
  30. jask "-rIsn't this a simple case?"
  31. if warn
  32. echo "POS Gadget pressed"
  33. else
  34. echo "NEG Gadget pressed"
  35. endif
  36.